<div class="post">
    <h2>KIM</h2>
    <div class="entry">
        <?php if (isset($errors)) {
        ?>
            <div class="error">
                Error occurred. Try again later.
            </div>
        <?php } else {
        ?>

        <?= form_open_multipart('admin_settings/kimSave'); ?>
            <input type="submit" value="Save" />
            <table style="border:5px;border-style:solid;">
                <tr class="darker">
                    <th>
                        Vision
                    </th>
                    <td>
                        <textarea name="vision" class="wide"><?= $vision; ?></textarea>
                    </td>
                </tr>
                <tr class="lighter">
                    <th>
                        Mision
                    </th>
                    <td>
                        <textarea name="mision" class="wide"><?= $mision; ?></textarea>
                    </td>
                </tr>
                <tr class="darker">
                    <th>
                        Core values
                    </th>
                    <td>
                        <textarea name="core_values" class="wide"><?= $core_values; ?></textarea>
                    </td>
                </tr>
                <tr class="lighter">
                    <th>
                        KIM Council
                    </th>
                    <td>
                        <input name="kim_council" type="file" class="wide"/>
                        <p><?= $kim_council; ?></p>
                    </td>
                </tr>
                <tr class="lighter">
                    <th>
                        Branch Committees
                    </th>
                    <td>
                        <input type="file" name="kim_comitees" class="wide"><p><?= $kim_comitees; ?></p>
                    </td>
                </tr>
                <tr class="darker">
                    <th>
                        Board of fellows
                    </th>
                    <td>
                        <input type="file" name="board_of_fellows" class="wide"><p><?= $board_of_fellows; ?></p>
                    </td>
                </tr>
                <tr class="lighter">
                    <th>
                        Senior Management
                    </th>
                    <td>
                        <input type="text" name="membership_system" class="wide" value="<?= $membership_system; ?>"/>
                    </td>
                </tr>
            </table>
            <input type="submit" value="Save" />
            </form>
        <?php } ?>
    </div>
</div>